﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Mime;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml.Serialization;
using DentScan2.DB;
using WkHtmlToXSharp;

namespace DentScan2.WebApp
{
    public partial class TestForm : Classes.BaseForm
    {
        protected void Page_Load(object sender, EventArgs e)
        {        

            this.AreaId = Guid.Parse("88df5232-86a8-4056-8700-5f30e3de6eb4");

            XmlSerializer xs = new XmlSerializer(typeof(DB.User));
            StringBuilder sb = new StringBuilder();
            StringWriter sw = new StringWriter(sb);
            DB.User user = dl.Users.First();
            xs.Serialize(sw, user);
            Response.Write(sb.ToString());
            Response.End();

        }
    }
}